package com.central.scheduler.service.exception;

/**
 * @author Tindy
 * @date 2021/11/5
 * @describe
 * task priority queue exception
 */
public class TaskPriorityQueueException extends Exception {

    /**
     * Construct a new runtime exception with the detail message
     *
     * @param message message
     */
    public TaskPriorityQueueException(String message) {
        super(message);
    }

    /**
     * Construct a new runtime exception with the detail message and cause
     *
     * @param message   message
     * @param cause     cause
     */
    public TaskPriorityQueueException(String message, Throwable cause) {
        super(message, cause);
    }

}
